﻿<Page x:Class="WpfStarterKit.SampleApplication.Screens.PassingDataAttributes.DataAttributesPage2.DataAttributesPage2View"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="DataAttributesPage2View">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <TextBlock Style="{StaticResource TitleStyle}">
            Data Page 1 (IConsumeData)
        </TextBlock>
        <StackPanel Grid.Row="1" Orientation="Vertical" VerticalAlignment="Center" HorizontalAlignment="Center" TextBlock.FontSize="25">
            <TextBlock Style="{StaticResource SampleLinkStyle}">
                <Hyperlink Command="{Binding HomeCommand}">Home</Hyperlink>
            </TextBlock>
            <TextBlock Style="{StaticResource SampleLinkStyle}">
                <Hyperlink Command="{Binding Page1Command}">Back to Page 1</Hyperlink>
            </TextBlock>
            <TextBlock Style="{StaticResource SampleLinkStyle}">
                Here's what Page 1 sent:
            </TextBlock>
            <TextBlock Style="{StaticResource SampleLinkStyle}" Text="{Binding Page1Data}" />
        </StackPanel>
    </Grid>
</Page>
